package com.lion.ball.modules.blank.web.api;

import com.chris.dev.base.libs.v1.http.params.IdParam;
import com.chris.dev.base.libs.v1.http.results.ValueResult;
import com.lion.common.spring.annotations.ResponseBodyPack;
import com.lion.common.spring.openapi.AccessToken;
import com.lion.common.spring.openapi.ApiGroup;
import com.lion.ball.modules.blank.web.model.param.create.TestParam;
import com.lion.ball.modules.blank.web.model.result.TestResult;
import io.swagger.v3.oas.annotations.Operation;
import io.swagger.v3.oas.annotations.tags.Tag;
import org.springframework.web.bind.annotation.PostMapping;

/**
 * @author Chris Chan
 * Create On 2025/8/26 下午7:03
 * Use for: 购物车 API
 * Explain:
 */
@AccessToken
@ResponseBodyPack
@ApiGroup("blank")
@Tag(name = "空白", description = "模块相关接口，需要具有访问权限")
public interface BlankApi {
    /**
     * 测试01
     *
     * @return
     */
    @Operation(summary = "测试01", description = "测试01")
    @PostMapping("test01")
    ValueResult<String> test01(IdParam<String> param);

    /**
     * 测试02
     *
     * @return
     */
    @Operation(summary = "测试02", description = "测试02")
    @PostMapping("test02")
    TestResult test02(TestParam param);
}
